<template>
    <!--弹窗-->
    <div class="dialog alert" v-if="open">
        <div class="shade">
            <div class="content">
                <div class="text">{{content}}</div>
                <div class="btn" @click="alertModle">
                    确定
                </div>
            </div>
        </div>
    </div>
</template>
<script>
    export default {
        name: "popup",
        props: ["content", "open"]
    }
</script>
<style>
    .dialog.alert {
        z-index: 10000;
    }
</style>